@extends('backend.layouts.app')

@section('page-header')
    <h1>
        {{ app_name() }}
        <small> {{ trans('backend.channelOrders.__TABLENAME__') }} </small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="{{ route('admin.dashboard') }}"><i class="fa fa-dashboard"></i> {{ trans('navs.general.home') }}</a></li>
        <li class="active">{{ trans('backend.channelOrders.__TABLENAME__') }}</li>
    </ol>
@endsection

@section('content')
    <div class="clearfix"></div>

    @include('flash::message')

    <div class="clearfix"></div>
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">{{ trans('backend.channelOrders.__TABLENAME__') }}</h3>
            <div class="box-tools pull-right">
                <div class="pull-right mb-10 hidden-sm hidden-xs">
                    {{ link_to_route('channelOrders.create', trans('buttons.general.crud.create'), [], ['class' => 'btn btn-success btn-xs']) }}
                </div><!--pull right-->

                <div class="pull-right mb-10 hidden-lg hidden-md">
                    <div class="btn-group">
                        <button type="button" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                            {{ trans('labels.general.actions') }} <span class="caret"></span>
                        </button>

                        <ul class="dropdown-menu" role="menu">
                            <li> {{ link_to_route('channelOrders.create', trans('buttons.general.crud.create')) }} </li>
                        </ul>
                    </div><!--btn group-->
                </div><!--pull right-->
            </div><!--box-tools pull-right-->

            <div class="clearfix"></div>
        </div>
        <div class="box-body">
                @include('backend.channel_orders.table')
        </div>
    </div>
@endsection

